package com.lq.ecoldchain.ui.withdraw

import android.app.Activity
import android.view.View
import com.alibaba.android.arouter.launcher.ARouter
import com.lq.ecoldchain.base.BaseNavigator
import com.lq.ecoldchain.base.viewdelegate.BaseViewDelegate

/*
*2019/1/6 0006  15:18
*function by lq
*/
class WithdrawDelegate(val viewModel:WithdrawViewModel):BaseViewDelegate(){
     val withdrawRequestCode = 3
    fun toCardList(view:View){
        ARouter.getInstance().build(BaseNavigator.myCard).navigation((view.context)as Activity,withdrawRequestCode)
    }
}